﻿<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1, user-scalable=no">
	<title>@ViewBag.Title - MysoftCM</title>
	@Styles.Render("~/Content/css/main")
	@Scripts.Render("~/bundles/modernizr")
	<!--[if lt IE 9]>
		@Scripts.Render("~/bundles/response")
	<![endif]-->
	@Styles.Render("~/Content/site/css")
</head>
<body class="@ViewBag.Theme">
	<!--[if lt IE 8]>      <nav class="navbar navbar-mysoft"> <![endif]-->
	<!--[if gt IE 8]><!-->
	<nav class="navbar navbar-mysoft navbar-fixed-top">
		<!--<![endif]-->
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mysoft-top-nav">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="http://www.mysoft.com.cn" target="_blank">明源软件</a>
			</div>
			<div class="collapse navbar-collapse" id="mysoft-top-nav">
				<ul class="nav navbar-nav">
					<li><a href="/Dashboard/@ViewBag.SelectedCustomerCode"><i class="fa fa-home fa-lg"></i></a></li>
					<li class="dropdown">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">客户配置信息 <span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu">
							<li><a href="/CsCm/@ViewBag.SelectedCustomerCode/Baseline">客户基线信息</a></li>
							<li><a href="/CsCm/@ViewBag.SelectedCustomerCode/Environment">客户环境信息</a></li>
						</ul>
					</li>
					<li><a href="/RptCm/@ViewBag.SelectedCustomerCode/">报表配置信息</a></li>
					<li class="dropdown">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">研发配置信息 <span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu">
							<li><a href="/Scm/@ViewBag.SelectedCustomerCode">配置信息</a></li>
							<li><a href="/Scm/@ViewBag.SelectedCustomerCode/Init">环境初始化</a></li>
							<li><a href="/Scm/@ViewBag.SelectedCustomerCode/Job">配置任务信息</a></li>
							<li class="divider"></li>
							<li><a href="/Scm/@ViewBag.SelectedCustomerCode/Updates">更新池信息</a></li>
							<li class="divider"></li>
							<li><a href="/Scm/@ViewBag.SelectedCustomerCode/Servers">服务器状态</a></li>
						</ul>
					</li>

				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li><a href="/Customer/Switch"><i class="fa fa-exchange fa-lg"></i> 切换客户</a></li>
					<li class="dropdown">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" id="top-logon-user"><i class="fa fa-user fa-lg"></i> @ViewBag.LogonUserDept </a>
						<ul class="dropdown-menu" role="menu">
							<li><a href="/User/Switch?returnUrl=@Server.UrlEncode(ViewBag.WindowLocation)">更换用户</a></li>
						</ul>
					</li>
				</ul>
			</div>
		</div>
	</nav>
	<div class="container-fluid">
		<!--[if lt IE 9]>
			<div class="row"><div class="alert alert-danger" role="alert">检测到您所使用的浏览器版本较低，推荐使用Chrome或IE9以上版本</div></div>
		<![endif]-->
		<div class="row">
			@{
				if (ViewBag.HideSidebar == null || !Convert.ToBoolean(ViewBag.HideSidebar))
				{
					<!--[if gt IE 8]><!-->
					<div class="col-sm-3 col-md-2 body-sidebar @ViewBag.Theme">
						<div class="panel-group sidebar-panel" id="mysoft-side-nav" role="tablist" aria-multiselectable="true">
							<div class="panel panel-mysoft-sidebar">
								<div class="panel-heading" role="tab" id="mysoft-side-nav-cscm">
									<h4 class="panel-title">
										<a class="collapsed" data-toggle="collapse" data-parent="#mysoft-side-nav" href="#mysoft-side-nav-cscm-items" aria-expanded="false" aria-controls="mysoft-side-nav-cscm-items">
											<i class="fa fa-desktop"></i> 客户配置信息
										</a>
									</h4>
								</div>
								<div id="mysoft-side-nav-cscm-items" class="panel-collapse collapse" role="tabpanel" aria-labelledby="mysoft-side-nav-cscm">
									<div class="panel-body">
										<ul class="list-group">
											<li class="list-group-item" id="mysoft-side-nav-cscm-baseline"><a href="/CsCm/@ViewBag.SelectedCustomerCode/Baseline"><i class="fa fa-circle-thin fa-sm"></i> 客户基线信息</a></li>
											<li class="list-group-item" id="mysoft-side-nav-cscm-environment"><a href="/CsCm/@ViewBag.SelectedCustomerCode/Environment"><i class="fa fa-circle-thin fa-sm"></i> 客户环境信息</a></li>
										</ul>
									</div>
								</div>
							</div>
							<div class="panel panel-mysoft-sidebar">
								<div class="panel-heading" role="tab" id="mysoft-side-nav-rptcm">
									<h4 class="panel-title">
										<a class="collapsed" data-toggle="collapse" data-parent="#mysoft-side-nav" href="#mysoft-side-nav-rptcm-items" aria-expanded="false" aria-controls="mysoft-side-nav-rptcm-items">
											<i class="fa fa-bar-chart"></i> 报表配置信息
										</a>
									</h4>
								</div>
								<div id="mysoft-side-nav-rptcm-items" class="panel-collapse collapse" role="tabpanel" aria-labelledby="mysoft-side-nav-rptcm">
									<div class="panel-body">
										<ul class="list-group">
											<li class="list-group-item" id="mysoft-side-nav-rptcm-index"><a href="/RptCm/@ViewBag.SelectedCustomerCode/"><i class="fa fa-circle-thin fa-sm"></i> 报表台账</a></li>
										</ul>
									</div>
								</div>
							</div>
							<div class="panel panel-mysoft-sidebar">
								<div class="panel-heading" role="tab" id="mysoft-side-nav-scm">
									<h4 class="panel-title">
										<a class="collapsed" data-toggle="collapse" data-parent="#mysoft-side-nav" href="#mysoft-side-nav-scm-items" aria-expanded="false" aria-controls="mysoft-side-nav-scm-items">
											<i class="fa fa-code"></i>&nbsp;研发配置信息
										</a>
									</h4>
								</div>
								<div id="mysoft-side-nav-scm-items" class="panel-collapse collapse" role="tabpanel" aria-labelledby="mysoft-side-nav-scm">
									<div class="panel-body">
										<ul class="list-group">
											<li class="list-group-item" id="mysoft-side-nav-scm-index"><a href="/Scm/@ViewBag.SelectedCustomerCode"><i class="fa fa-circle-thin fa-sm"></i> 配置信息</a></li>
											<li class="list-group-item" id="mysoft-side-nav-scm-init"><a href="/Scm/@ViewBag.SelectedCustomerCode/Init"><i class="fa fa-circle-thin fa-sm"></i> 环境初始化</a></li>
											<li class="list-group-item" id="mysoft-side-nav-scm-job"><a href="/Scm/@ViewBag.SelectedCustomerCode/Job"><i class="fa fa-circle-thin fa-sm"></i> 配置任务信息</a></li>
											<li class="list-group-item" id="mysoft-side-nav-scm-updates"><a href="/Scm/@ViewBag.SelectedCustomerCode/Updates"><i class="fa fa-circle-thin fa-sm"></i> 更新池信息</a></li>
											<li class="list-group-item" id="mysoft-side-nav-scm-servers"><a href="/Scm/@ViewBag.SelectedCustomerCode/Servers"><i class="fa fa-circle-thin fa-sm"></i> 服务器状态</a></li>
										</ul>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!--<![endif]-->
					@:<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 body-content">
					}
				else
				{
					@:<div class="col-sm-12 col-md-12 body-content">
				}
			}
			<div class="row" id="page-message">
			</div>
			<div class="row">
				@RenderBody()
			</div>
		</div>
	</div>
</div>
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/main")
<script type="text/javascript">m.fix.page.init('@ViewBag.WindowLocation', '@ViewBag.Controller', '@ViewBag.Action');</script>
@Scripts.Render("~/bundles/site/js")
@RenderSection("scripts", required: false)
</body>
</html>
